function eventInit() {
    // 版本控制按钮
    document.getElementById("version").addEventListener("change", function (e) {
        console.log(e.target.value);
        Setting.version = e.target.value;
        let paramString =
            "?" +
            Object.entries(window.Setting)
                .map((i) => i.join("="))
                .join("&");
        console.log(paramString);
        location.href = location.href.split("?")[0] + paramString;
    });
}
export default eventInit;
